package com.wzdigit.wms.wms.service.core;

import com.wzdigit.wms.basic.domain.order.DocLog;
import com.wzdigit.wms.basic.mapper.core.order.DocLogMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * <p>
 * 单据日志 服务类
 * </p>
 *
 * @author
 * @since 2021-01-19
 */
@Service
@Slf4j
public class DocLogService {


    @Autowired
    DocLogMapper docLogMapper;

    /**
     * 生成【单据变更日志】
     */
    public void addNewOne(DocLog docLog) {
        int row = docLogMapper.insert(docLog);
        log.info("成功新增{}条【单据变更日志】记录", row);
    }


}
